<template>
  <div class="navtopreturn">
    <div class="box-item">
      <van-nav-bar :title="title" left-arrow @click-left="onClickLeft" />
    </div>
  </div>
</template>

<script>
export default {
  name: "NavTopReturn",
  props: {
    title: {
      type: String,
      default: "",
    },
  },
  data() {
    return {};
  },

  methods: {
    onClickLeft() {
      this.$router.push({name:"Home"});
    },
  },
};
</script>

<style lang="scss" scoped>
 
</style>